#pragma once

#include <string>
#include "cg/cg.h"
#include "ICollidable.h"
#include "CollectableManager.h"

namespace PeanutQuest {

	class Collectable :
		public ICollidable,
		public cg::IDrawListener,
		public cg::IUpdateListener
	{
	private:
		

	public:
		Collectable() : ICollidable() {
			_status = "collectable";
		}
		virtual ~Collectable() {
			CollectableManager* cm = (CollectableManager*)cg::Registry::instance()->get("CollectableManager");
			cm->deleteCollectable(this);
		}
		
		virtual void update(unsigned long elapsed_millis) {}
		virtual void draw() {}

	};
}